package com.demo.demo1.beans;

import com.demo.util.excel.annotations.ExcelColumn;
import com.demo.util.excel.enums.ExcelDataType;
import lombok.AllArgsConstructor;
import lombok.Data;

@Data
@AllArgsConstructor
public class CarVO {

    @ExcelColumn(value = "投放车辆数", field = "cityCars.%d.carInfo.carCount", dataType = ExcelDataType.INTEGER)
    private Integer carCount;

    @ExcelColumn(value = "在租车辆数", field = "cityCars.%d.carInfo.useCarCount", dataType = ExcelDataType.INTEGER)
    private Integer useCarCount;

    @ExcelColumn(value = "租赁率", field = "cityCars.%d.carInfo.useCarCount")
    private String useCarRate;

    @ExcelColumn(value = "当日首期新增租赁数", field = "cityCars.%d.carInfo.useCarCount", dataType = ExcelDataType.INTEGER)
    private Integer addUseCarInDay;

    @ExcelColumn(value = "当日续租新增租赁数", field = "cityCars.%d.carInfo.useCarCount", dataType = ExcelDataType.INTEGER)
    private Integer continueUseCarInDay;

    @ExcelColumn(value = "退租数", field = "cityCars.%d.carInfo.useCarCount", dataType = ExcelDataType.INTEGER)
    private Integer unusedCarInDay;

}
